﻿<!DOCTYPE html>
<html>
<body>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<div id="log"></div>

<div contenteditable="true" id="div"><ol>
<li>AAA<br><br></li>
<li><br></li>
<li>BBB<br>CCC</li>
</ol></div>
<div>DDD</div>
<script>
test(function () {
    getSelection().selectAllChildren(div);
    document.execCommand("insertOrderedList");
});
</script>
</body>
</html>